home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / VIEWS.ZIP;1 / CVDZIP.EXE / CVDEMO.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-20  |  554 b   |  33 lines

  1. /*
  2.     cvdemo.cpp
  3.  
  4.     "main()" for cvdemo program
  5.  
  6.     C++/Views 2.0 Demo
  7.     Copyright (c) 1992, by Liant Software Corp.
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Revision History:
  11.     -----------------
  12. */
  13.  
  14. #include "notifier.h"
  15. #include "cvdemovw.h"
  16.  
  17. char *CTWindow = __FILE__;
  18.  
  19. int cvmain(int ac, char **av)
  20. {
  21.     /* create the main window for the demo (see cvdemovw.cpp) */
  22.     DemoAppView *v = new DemoAppView();
  23.  
  24.     /* show the main window */
  25.     v->show();
  26.  
  27.     /* tell the notifier to start processig events */
  28.     notifier->start();
  29.  
  30.     delete v;
  31.     return(TRUE);
  32. }
  33.